package com.lupengning.mybatisplus.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lupengning.mybatisplus.entity.User;
import com.lupengning.mybatisplus.mapper.UserMapper;
import com.lupengning.mybatisplus.service.UserService;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * @author lupen
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

  @Override
  public List<User> listAllByName(String name) {
    return baseMapper.selectAllByName("Tom");
  }
}
